python - remove repeted columns in a df

87

python - remove repeted columns in a df -

df.loc[:,~df.T.duplicated(keep='first')]

Comments

Submit
0 Comments